import Promotion from "@/views/promotion";
import Order from "@/views/promotion/order";
import Goods from "@/views/promotion/goods";


const promotionRoutes = [{
    path: "promotion",
    component: Promotion,
    redirect: "promotion/order",
    //嵌套路由
    children: [
        {
            path: "order",
            component: Order
        },
        {
            path: "goods",
            component: Goods
        }
    ]
}]

export default promotionRoutes